//
//  SmallDecisionsSlider.h
//  SmallDecisions
//
//  Created by 李付雄 on 2025/8/25.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SmallDecisionsSlider : UIView

@property (nonatomic, strong) UISlider *slider;
@property (nonatomic, strong) UILabel  *minLabel;
@property (nonatomic, strong) UILabel  *maxLabel;
@property (nonatomic, strong) UILabel  *titleLabel;

@property(nonatomic) float value;
@property(nonatomic) float minimumValue;
@property(nonatomic) float maximumValue;

@property (nonatomic, copy) void(^sliderValueChange)(SmallDecisionsSlider *slider);
- (instancetype)initWithMinValueFormat:(NSString *(^ _Nullable)(UISlider *slider))minValueFormat
                        maxValueFormat:(NSString *(^ _Nullable)(UISlider *slider))maxValueFormat;

@end

NS_ASSUME_NONNULL_END
